PATH![]() |
![]() ![]() |
Sets the storage value for a given index number.
OSStatus MPSetTaskStorageValue (
TaskStorageIndex index,
TaskStorageValue value);
Typically you use MPSetTaskStorageValue to store pointers to task-specific structures or data.
Calling this function from within a task effectively assigns a value in a two-dimensional array cross-referenced by task storage index value and the task ID.
The function MPGetTaskStorageValue .